Auto merge of #4342 - sid0:hgignore, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 31 Jul 2017 19:42:41 +0000 (19:42 +0000)
committerbors <bors@rust-lang.org>
Mon, 31 Jul 2017 19:42:41 +0000 (19:42 +0000)
commit6b18b35e7f0004cded726afb4bbb81a60a1822a6
treec2e9ae50af58ef1140ff056ccc6b0ad33e04641b
parentffc3419bd1c8af9b5699e5170a1161612738d264
parentbef1f477cbd7486d53b34bb1b592e75f52470e4d
Auto merge of #4342 - sid0:hgignore, r=alexcrichton

new: fix hgignore for real

There was an attempt to fix hgignore in #4158, but unfortunately the fix
was incorrect -- hgignore glob syntax is not in fact identical to
gitignore syntax.

To get rooted ignores in Mercurial we must use the regex-based syntax,
so we have no choice but to define a separate set of ignores.